﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MSAcademic.v2.Infrastructure.ContentSection;

namespace MSAcademic.v2.Infrastructure.SubSection
{
    public interface ISubSectionQueries
    {
        ISubSection Get(int id);
        ISubSection TryGetByName(string name);
        IEnumerable<ISubSection> GetAllForContentSection(int contentSectionId);
        IEnumerable<ISubSection> GetAll();
        IEnumerable<ISubSection> GetByName(string name);
        Tuple<IContentSection, ISubSection> GetWithContentSection(int subsectionId);
    }
}
